Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launcher Draft 1 #98

Closed
wants to merge 10 commits into from
Closed

Launcher Draft 1 #98

wants to merge 10 commits into from

Conversation

kbader94
Copy link

Description:

Preliminary changes to launcher to accommodate simultaneously opened apps from a single plugin instance. Additional changes to install script for multi core make and changed install script depedencies to support Ubuntu repos.

Checklist:

  • The code change is tested and mostly works locally.
  • If you're using Ubuntu you may need to change window managers, I had problems with unity messing with windows. LXDE(pi default) works without issues

@kbader94 kbader94 marked this pull request as ready for review August 26, 2021 13:28
@kbader94 kbader94 closed this Aug 26, 2021
@kbader94 kbader94 reopened this Aug 26, 2021
@kbader94 kbader94 marked this pull request as draft August 26, 2021 13:31
@rsjudka
Copy link
Contributor

rsjudka commented Aug 27, 2021

i like the idea! one thing i would do differently is to NOT inherit from QObject in any of the base plugin classes however (you can find plenty of conversations about it on qplugin related posts)

you can however have virtual signals (e.g here) which i think would be the ideal approach

echo Running Dash make
make

coreQ=$(grep 'cpu cores' /proc/cpuinfo | uniq)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

id maybe not squeeze this in here... see #88 for a discussion on setting the number of cores programmatically like this

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rsjudka I was hoping you'd have an opinion on that, it didn't feel right but It also didn't work when I tried to inherit lower down. Thanks for pointing me in the right direction, I'm still a little newer to qt so I appreciate the advice! Also I agree about not changing the install script here, I just did it because it speeds up my build on my dev machine but I don't think this would even work on the rpi as is. I'll try and remember to remove this, I'll let that be it's own issue

@kbader94 kbader94 closed this Sep 8, 2021
@kbader94 kbader94 deleted the launcher branch September 8, 2021 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants